//
// Created by Zhangwj on 2023/9/18.
//

#include <string>
#include "fileHelper.h"
#include <iostream>
#include <fstream>


std::string readFile(const std::string &filename) {
    std::ifstream file(filename);
    std::string content((std::istreambuf_iterator<char>(file)),
                        (std::istreambuf_iterator<char>()));
    return content;
}
